package tp.pr5;

public abstract class GameController {
	protected Game game;

	public GameController(Game g) {
		this.game = g;
	}

	public void registerGameObserver(GameObserver gameobserver) {
		game.addGameObserver(gameobserver);

	}

	public void registerMapObserver(MapObserver mapObserver) {

		game.addMapObserver(mapObserver);

	}

	public void registerPlayerObserver(PlayerObserver playerObserver) {
		game.addPlayerObserver(playerObserver);
	}

	public abstract void runGame();
}
